<div class="header">
	 <div class="logo"><a href="$config[cfg_indexurl]" title="$config[cfg_webname]"><img src="{$BASE_V}images/logo_pic.jpg" /></a><a href="{PHP_SELF}?m=difang&username=$userinfo[username]" title="$userinfo[nicename]"><img src="{$config[cfg_indexurl]}$userinfo[url]" /></a></div>
     <div class="qiehuan">
     <div id="difang" onmouseover="ShowDivCity();" onmouseout="HiddenDivCity();">[切换地方站　]</div>
     <div id="DivCity" style="display:none" onmouseover="ShowDivCity();" onmouseout="HiddenDivCity();">
      <ul>
        <!--{loop $user_array $k $v}-->
          <li><a href="{PHP_SELF}?m=difang&username=$v[username]">$v[nicename]</a></li>
        <!--{/loop}-->
      </ul>
     </div>
	<script type="text/javascript">
      function ShowDivCity() {
        document.getElementById("DivCity").style.display= "block";
    }
    
      function HiddenDivCity() {
        document.getElementById("DivCity").style.display = "none";
    }
     </script>
	</div>
	<div class="top_banner">$index_top_1</div>
    <div class="nav">
        <ul>
          <li style="background:none"><a href="{PHP_SELF}?m=difang&username=$userinfo[username]">首页</a></li>
        <!--{loop $nav_array $k $v}-->
          <li><a href="{PHP_SELF}?m=$v[nicename]&username=$userinfo[username]">$v[cat_name]</a>
          <!--{if is_array($v[next])}-->
			<ul class="oo">
            <!--{loop $v[next] $kk $vv}-->
              <li><a href="{PHP_SELF}?m={if !empty($vv[nicename])}$vv[nicename]{else}$v[nicename]{/if}&username=$userinfo[username]&cid=$vv[cid]">$vv[cat_name]</a></li>
			<!--{/loop}-->
            </ul>
            <!--{/if}-->
          </li>    
          <!--{/loop}-->
        </ul>
     </div>
    </div>